#define _CRT_SECURE_NO_WARNINGS 1
#include"CircularQueue.h"

void test()
{
	MyCircularQueue* obj = myCircularQueueCreate(3);
	int ret;
	ret = myCircularQueueEnQueue(obj, 1);
	ret = myCircularQueueEnQueue(obj, 2);
	ret = myCircularQueueEnQueue(obj, 3);
	ret = myCircularQueueEnQueue(obj, 4);
	ret = myCircularQueueRear(obj);
	ret = myCircularQueueIsFull(obj);
	ret = myCircularQueueDeQueue(obj);
	ret = myCircularQueueEnQueue(obj, 4);
	ret = myCircularQueueRear(obj);

	//"enQueue", "enQueue", "enQueue", "enQueue", "Rear", "isFull", "deQueue", "enQueue", "Rear"]
}
int main()
{
	test();
	return 0;
}